﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="GridViewLogoin.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table>
                <tr>
                    <td>
                        <asp:Label runat="server" ID="lblUser" Text="用户名：" ></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="Text_UsernName"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right">
                        <asp:Label runat="server" ID="lblPwd" Text="密码：" ></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="Text_Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">
                        <asp:Button runat="server" ID="btnLogin" Text="登入" OnClick="btnLogin_Click"/>
                    </td>
                    <td style="text-align:center">
                        <asp:Button runat="server" ID="btnRegister" Text="注册" OnClick="btnRegister_Click"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label runat="server" ID="lblComment" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
